<?php
/**
 * RedCross Application
 *
 * @copyright Copyright (c) 2010, Kristian Stokke Tryggestad, Rune Vikestad, Andreas Flaten Wist, Simen Nicolai Echholt, Ole Henrik Jahren
 */


class Admin_Form_Event_Edit extends Admin_Form_Event_Add
{

    public function init() {
        parent::init();

        $fromDate = $this->getElement('from_date');
//        $fromDate->removeValidator('ValidDate');
//        $fromDate->addValidator('ValidDate', true, array('type' => 'from_date', 'earlier' => true));

        $toDate = $this->getElement('to_date');
//        $toDate->removeValidator('ValidDate');
//        $toDate->addValidator('ValidDate', true, array('type' => 'to_date', 'earlier' => true));
    }
}
